home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.5 Applications 1999 May
/
SGI IRIX 6.5 Applications 1999 May.iso
/
dist
/
impr_base.idb
/
usr
/
share
/
catman
/
u_man
/
cat1
/
chkimprlicense.z
/
chkimprlicense
Wrap
Text File
|
1998-05-04
|
3KB
|
67 lines
cccchhhhkkkkiiiimmmmpppprrrrlllliiiicccceeeennnnsssseeee((((1111)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo cccchhhhkkkkiiiimmmmpppprrrrlllliiiicccceeeennnnsssseeee((((1111))))
NNNNAAAAMMMMEEEE
chkimprlicense - check if an Impressario license is available for
_p_s_r_i_p(_1)
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
cccchhhhkkkkiiiimmmmpppprrrrlllliiiicccceeeennnnsssseeee [----PPPP printername] [----mmmm message]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_f_3_c_h_k_i_m_p_r_l_i_c_e_n_s_e calls the FLEXlm license checkout functions to determine
if an Impressario license is available. Currently, the only component of
Impressario that requires a license is _p_s_r_i_p(_1). _c_h_k_i_m_p_r_l_i_c_e_n_s_e has less
startup overhead then running _p_s_r_i_p(_1) directly and checking for a
license access failure.
_f_3_c_h_k_i_m_p_r_l_i_c_e_n_s_e is intended for use by printer driver developers. See
the lp model file /_v_a_r/_s_p_o_o_l/_l_p/_m_o_d_e_l/_l_a_s_e_r_j_e_t_P_J_L__m_o_d_e_l for example use.
_c_h_k_i_m_p_r_l_i_c_e_n_s_e does not output any messages to standard out or standard
error. The return status is used to determine if a license is available.
CCCCoooommmmmmmmaaaannnndddd LLLLiiiinnnneeee OOOOppppttttiiiioooonnnnssss
_c_h_k_i_m_p_r_l_i_c_e_n_s_e supports the following command line options:
----PPPP _p_r_i_n_t_e_r
If specified, the printer status is set to faulted if a license
is not available. This causes the printer icon seen on the
DeskTop and with _p_r_i_n_t_s_t_a_t_u_s(_1) to change color to red to
indicate a faulted state. If -_P is used then -_m must be used.
----mmmm _m_e_s_s_a_g_e
If specified, the printer error message is set to this message
if a license is not available. This message is seen in the
_p_r_i_n_t_s_t_a_t_u_s(_1) status window for the printer specified with the
-_P option. If -_m is used then -_P must be used.
NNNNOOOOTTTTEEEESSSS
Both -_m and -_P must be used together (if either is used).
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
0 is returned if an Impressario license is available and it will not
expire in the next 90 days. If a license will expire within the next 90
days the number of days until expiration is returned. -1 is returned if
a license is not available (license not installed or has expired) or an
error occurred.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
_p_s_r_i_p(1), Impressario release notes.
PPPPaaaaggggeeee 1111